home *** CD-ROM | disk | FTP | other *** search
/ Hackers Handbook - Millenium Edition / Hackers Handbook.iso / files / unix / cracklib25_small_tar.z / cracklib25_small_tar / cracklib25_small / Makefile < prev    next >
Encoding:
Makefile  |  1993-07-09  |  1.2 KB  |  41 lines

  1. ###
  2. # This program is copyright Alec Muffett 1993. The author disclaims all
  3. # responsibility or liability with respect to it's usage or its effect
  4. # upon hardware or computer systems, and maintains copyright as set out
  5. # in the "LICENCE" document which accompanies distributions of Crack v4.0
  6. # and upwards.
  7. ###
  8.  
  9. ###
  10. # set this to the absolute path (less extn) of compressed dict.
  11.  
  12. DICTPATH="/usr/local/lib/pw_dict"
  13.  
  14. ###
  15. # Set this to the path of one or more files continaing wordlists.
  16.  
  17. SRCDICTS=/usr/dict/words
  18. ###SRCDICTS=/usr/dict/words ./very-big-dict
  19.  
  20.  
  21. default:
  22.     @echo "you evidently don't know what you're doing. go read the README"
  23.  
  24. all:
  25.     ( cd cracklib && make && exit $$? )
  26.     ( cd util && make DICTPATH=$(DICTPATH) && exit $$? )
  27. ###    ( cd passwd && make DICTPATH=$(DICTPATH) passwd && exit $$? )
  28.     touch all
  29.  
  30. clean:
  31.     -( cd cracklib && make clean && exit $$? )
  32.     -( cd util && make clean && exit $$? )
  33. ###    -( cd passwd && make clean && exit $$? )
  34.     -rm -f all installed Part* *.BAK *.bak
  35.  
  36. install: all
  37.     @echo 'if "sort" dies from lack of space, see "util/mkdict"'
  38.     util/mkdict $(SRCDICTS) | util/packer $(DICTPATH)
  39.     touch installed
  40. ###    @echo 'now go install passwd/passwd where you want it'
  41.